dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa6a581
)
Removed used of resultObject() in QueryPage
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 26 Sep 2015 17:54:43 +0000
(10:54 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 26 Sep 2015 17:54:43 +0000
(10:54 -0700)
Change-Id: I7aa6902a7e1a0c93e28b209de995976d5891cdfb
includes/specialpage/QueryPage.php
patch
|
blob
|
history
diff --git
a/includes/specialpage/QueryPage.php
b/includes/specialpage/QueryPage.php
index
3c8b742
..
bfb29ae
100644
(file)
--- a/
includes/specialpage/QueryPage.php
+++ b/
includes/specialpage/QueryPage.php
@@
-450,14
+450,13
@@
abstract class QueryPage extends SpecialPage {
} else {
$options['ORDER BY'] = 'qc_value ASC';
}
-
$res =
$dbr->select( 'querycache', array( 'qc_type',
+
return
$dbr->select( 'querycache', array( 'qc_type',
'namespace' => 'qc_namespace',
'title' => 'qc_title',
'value' => 'qc_value' ),
array( 'qc_type' => $this->getName() ),
__METHOD__, $options
);
- return $dbr->resultObject( $res );
}
public function getCachedTimestamp() {